protoc \
  -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf \
  --gofast_out=plugins=grpc,\Mgoogle/protobuf/wrappers.proto=github.com/gogo/protobuf/types,\Mgoogle/protobuf/struct.proto=github.com/gogo/protobuf/types:../ \
  --grpc-gateway_out=allow_delete_body=true,allow_patch_feature=false,logtostderr=true:../ \
  mall/proto/*.proto \
  --plugin=protoc-gen-swagger=$GOPATH/bin/protoc-gen-swagger --swagger_out=.
mv ../api/mall/* mall/
rm -rf ../api
mv mall/proto/*.json mall/doc/
swaghtml gen -i mall/doc/*.json -o mall/doc/商城接口文档.html
cp mall/proto/const.proto mall/doc/枚举和消息.proto